package com.sgu6.serialport.dto;

import java.io.File;
import java.io.Serializable;

/**
 *
 */
public class DeviceDto implements Serializable {

    private static final String TAG = DeviceDto.class.getSimpleName();

    private String name;
    private String root;
    private File file;
    private boolean selected;

    public DeviceDto(String name, String root, File file,boolean selected) {
        this.name = name;
        this.root = root;
        this.file = file;
        this.selected = selected;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRoot() {
        return root;
    }

    public void setRoot(String root) {
        this.root = root;
    }

    public File getFile() {
        return file;
    }

    public void setFile(File path) {
        this.file = file;
    }

    public boolean isSelected() {
        return selected;
    }

    public void setSelected(boolean selected) {
        this.selected = selected;
    }
}
